package xuanzhen.pro.dao;

import java.util.List;

import xuanzhen.pro.pojo.Relay;

public interface RelayMapper {
	/**
	 * 添加
	 */
	void addRelay(Relay relay)throws Exception;
	/**
	 * 查询
	 */
	Relay selectRelayByNo(String relayNo)throws Exception;
	Relay selectRelayByRelayNo(String relayNo)throws Exception;
	List<Relay> selectAll()throws Exception;
	List<Relay> selectByPageNo(int recordNo)throws Exception;
	int countRecords()throws Exception;
	/**
	 * 修改
	 * @param relay
	 * @throws Exception
	 */
	void updateRelay(Relay relay)throws Exception;
}
